package com.eshore.mq.Mqtt;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.io.Serializable;

/**
 * @author ZhouXiong
 * @Description
 * @apiDefine Created by ZhouX on 2021/9/6
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ConfigurationProperties(prefix = "mqtt",ignoreUnknownFields = true)
@Component
public class MqttClientInfo implements Serializable {


    private static final long serialVersionUID = 1834101492114231713L;

    private String url;

    private String userName;

    private String password;

}
